package com.miyi.core;

import spark.route.HttpMethod;

public class ActionException extends Exception {

	private static final long serialVersionUID = 1L;
	private String path = null;
	
    public ActionException(String m) {
        super(m);
    }
    public ActionException(String msg, String path) {
        super(msg);
    }
    public ActionException(String msg, Exception e) {
        super(msg + " because of " + e.toString());
    }

	public ActionException() {
		// TODO Auto-generated constructor stub
	}
	
	public String getPath(){
		return this.path;
	}
	public String getMessage(){
		return super.getMessage();
	}
}